
public class Foo {
    public void foo() {
        abcd = x ?
               2 :
               3;
    }
}